package com.yuantu.judiciary.exception.enums;

import com.yuantu.judiciary.common.CodeEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 用户模块异常码
 *
 * @author syw
 * @since 2023-08-11
 **/
@Getter
@RequiredArgsConstructor
public enum UserExceptionEnum implements CodeEnum {
    /**
     * 用户相关
     */
    USER_NOT_EXIST(44001, "用户不存在"),
    USER_EXIST(44002, "用户已存在"),
    USER_NOT_REGISTER(44003, "用户未注册"),

    ;

    private final int code;
    private final String message;
}
